/*
* cSans Grid 890-6-10 v0.2
* 2010 Copyright A navalla suíza http://anavallasuiza.com
* cSans is released under the GNU Affero GPL version 3 - more information at http://www.fsf.org/licensing/licenses/agpl-3.0.html
*/

/* 1. PAGE */
body { text-align:center; }
.page,.expanded-page {
	width:890px;
	text-align:left;
	margin:0 auto;
	padding:1px 0;
}
.expanded-page {
	width:900px;
	padding-left:10px;
}

/* 2. DEBUG */
.grid { background-image:url(csans-grid-890-6-10.png); }
.grid.expanded-page { background-position:10px; }

/* 3. LAYOUT */
/* 3.1. Widths */
.w1 { width:150px; }
.w2 { width:300px; }
.w3 { width:450px; }
.w4 { width:600px; }
.w5 { width:750px; }
.w6 { width:900px; }

/* 3.2. Columns */
.col1 { width:140px; }
.col2 { width:290px; }
.col3 { width:440px; }
.col4 { width:590px; }
.col5 { width:740px; }
.col6 { width:890px; }

.col,.col1,.col2,.col3,.col4,.col5,.col6,
.w1,.w2,.w3,.w4,.w5,.w6 { float:left; }

.col,.col1,.col2,.col3,.col4,.col5,.col6 { margin-right:20px; }

th.col,th.col1,th.col2,th.col3,th.col4,th.col5,th.col6,
th.w1,th.w2,th.w3,th.w4,th.w5,th.w6,
td.col,td.col1,td.col2,td.col3,td.col4,td.col5,td.col6,
td.w1,td.w2,td.w3,td.w4,td.w5,td.w6 { float:none;margin-right:0; }

/* 3.3. Space columns: Right */
.r-1 { margin-right:-140px; }
.r-2 { margin-right:-290px; }
.r-3 { margin-right:-440px; }
.r-4 { margin-right:-590px; }
.r-5 { margin-right:-740px; }
.r-6 { margin-right:-890px; }

.r-1,.r-2,.r-3,.r-4,.r-5,.r-6 { position:relative; }

.r05 { margin-right:75px; }
.r1 { margin-right:160px; }
.r2 { margin-right:310px; }
.r3 { margin-right:460px; }
.r4 { margin-right:610px; }
.r5 { margin-right:760px; }
.r6 { margin-right:910px; }

/* 3.4. Space columns: Left */
.l-1 { margin-left:-150px; }
.l-2 { margin-left:-300px; }
.l-3 { margin-left:-450px; }
.l-4 { margin-left:-600px; }
.l-5 { margin-left:-750px; }
.l-6 { margin-left:-900px; }

.l05{ margin-left:75px; }
.l1 { margin-left:150px; }
.l2 { margin-left:300px; }
.l3 { margin-left:450px; }
.l4 { margin-left:600px; }
.l5 { margin-left:750px; }
.l6 { margin-left:900px; }

/* 3.5. Space columns: top */
.t1 { margin-top:10px; }
.t2 { margin-top:20px; }
.t3 { margin-top:30px; }
.t4 { margin-top:40px; }
.t5 { margin-top:50px; }
.t6 { margin-top:60px; }
.t7 { margin-top:70px; }
.t8 { margin-top:80px; }
.t9 { margin-top:90px; }
.t10 { margin-top:100px; }

/* 3.6. Space columns: bottom */
.b1 { padding-bottom:10px; }
.b2 { padding-bottom:20px; }
.b3 { padding-bottom:30px; }
.b4 { padding-bottom:40px; }
.b5 { padding-bottom:50px; }
.b6 { padding-bottom:60px; }
.b7 { padding-bottom:70px; }
.b8 { padding-bottom:80px; }
.b9 { padding-bottom:90px; }
.b10 { padding-bottom:100px; }

/* 3.7. Paddings */
.p05,.colp05 { padding:5px; }
.p1,.colp1 { padding:10px; }
.p2,.colp2 { padding:20px; }
.pr05 { padding-right:5px; }
.pr1 { padding-right:10px; }
.pr2 { padding-right:20px; }
.wp1 { padding:10px 0 10px 10px;left:-10px;margin-right:-10px; }
.wp2 { padding:20px 10px 20px 20px;left:-20px;margin-right:-30px; }
.colp05 { left:-5px;margin-right:0; }
.colp1 { left:-10px;margin-right:-10px; }
.colp2 { left:-20px;margin-right:-30px; }
.colp05,.colp1,.colp2,.wp1,.wp2 {
	position: relative;
}

/* 3.8. Right-floated columns */
.colright {
	float:right;
	position:relative;
	right: -10px;
}

/* 4. HACKS */
.col,.col1,.col2,.col3,.col4,.col5,.col6,
.w1,.w2,.w3,.w4,.w5,.w6 { _display:inline; } /* IE5-6 */

.l-1,.l-2,.l-3,.l-4,.l-5,.l-6 { *position:relative; } /* IE */

* html .expanded-page {
	\width:910px; /* IE5-6 quirks mode */
	w\idth:900px; /* IE6 */
}